package cn.wolfcode.luowowo.member.service;

import cn.wolfcode.luowowo.common.exception.LogicException;
import cn.wolfcode.luowowo.member.domain.UserInfo;

import java.util.List;

public interface IUserInfoService {

    UserInfo get(long id);

    boolean selectCountPhone(String phone);

    void sendVerifyCode(String phone) throws LogicException;

    void regist(String phone, String nickname, String password, String rpassword, String verifyCode) throws LogicException;

    String login(String username, String password) throws LogicException;


    List<UserInfo> list();
}
